cmake: resolve symlinks in LLVMConfig.cmake
authorPeter Wu <peter@lekensteyn.nl>
Fri, 4 May 2018 13:43:06 +0000 (15:43 +0200)
committerJames Clarke <jrtc27@debian.org>
Fri, 20 Dec 2019 18:30:29 +0000 (18:30 +0000)
commit57ef0cc80f16b654dfc031f0ba458ee2f29eef7f
tree72f539120daa02f2019b1c2f72febfe7ecabb313
parentd6330d0f9199b0e1596450d517836e77e4b7e68b
cmake: resolve symlinks in LLVMConfig.cmake

Ensure that symlinks such as /usr/lib/llvm-X.Y/cmake (pointing to
lib/cmake/llvm) are resolved. This ensures that LLVM_INSTALL_PREFIX
becomes /usr/lib/llvm-X.Y instead of /usr.

Partially addresses PR37128

Gbp-Pq: Name 0001-llvm-cmake-resolve-symlinks-in-LLVMConfig.cmake.patch
llvm/cmake/modules/CMakeLists.txt